import java.util.Scanner;

public class KJ {
    public static void main(String args){
        System.out.println("输入名字");
        Scanner A = new Scanner(System.in);
        System.out.println("输入密码");
        int qw;
        Scanner B = new Scanner(System.in);
        qw = B.nextInt();
        System.out.println("再次输入密码");
        Scanner C = new Scanner(System.in);
        int qr;
        qr = C.nextInt();
        if(qr==qw){
            System.out.println("注册成功");

        }else{
            System.out.println("密码不一致，请重新输入");;
        }



    }
}
